<template>
  <router-view v-title="$route.meta.title"></router-view>
</template>

<script>
  import {mapGetters} from 'vuex'

  export default {
    computed: mapGetters([
      'user'
    ]),
    mounted() {
      this.$store.dispatch('getUserInfo');
    },
    data() {
      return {}
    }
  }
</script>